package com.five.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reader implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    private String password;
    private String nickname;
    private String avatar;
    private Integer gender; // 0:未知, 1:男, 2:女
    private String phone;
    private String email;
    private String salt;
    private Integer status; // 0:禁用, 1:正常
    private LocalDateTime create_time;
    private LocalDateTime update_time;
    private LocalDateTime last_login_time;
    private Long loginInfoId;
}
